package com.system.vote.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * 投票选项信息
 * @TableName t_vote_item
 */
@TableName(value ="t_vote_item")
@Data
public class TVoteItem implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 投票ID
     */
    @TableField(value = "vote_id")
    private Long voteId;

    /**
     * 投票选项标题
     */
    @TableField(value = "name")
    private String name;

    /**
     * 投票图片选项
     */
    @TableField(value = "image")
    private String image;

    /**
     * 投票数量
     */
    @TableField(value = "number")
    private Long number=0L;

    /**
     * 投票选项
     */
    @TableField(value = "voteOption")
    private Long voteOption=0L;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}